package com.itheima01;

public class Zi extends Fu{
    //成员变量
    String name ="王思聪";
    int ageZi=30;

    //定义方法，访问成员变量
    public void show(){
        String name="熊猫TV";
        System.out.println(name);//熊猫TV
        System.out.println(this.name);//王思聪
        System.out.println(super.name);//王健林
    }
}
